﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PurchaseSales.Manage.Common
{
    public static class ApplicationCache
    {
        private static Dictionary<object, object> _dictionary = new Dictionary<object, object>();

        public static void Set(object key, object value)
        {
            _dictionary[key] = value;
        }

        public static object Get(object key)
        {
            if (_dictionary.ContainsKey(key))
                return _dictionary[key];
            return null;
        }
    }
}
